<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>    
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('message/fenxireport/flexigrid') ?>',
                    colModel: [
						{display: '<?= translate('MESSAGE_CRASHREPORT_CHANNEL') ?>', name: 'channel', width: '100', process: formatSearch},
						{display: '<?= translate('MESSAGE_CRASHREPORT_INSERTTIME') ?>', name: 'inserttime', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_LOGINSTART') ?>', name: 'loginstart', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CHECKUPDATE') ?>', name: 'checkupdate', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CHECKXML') ?>', name: 'checkxml', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_GETXML') ?>', name: 'getxml', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_GETXMLRETURN') ?>', name: 'getxmlreturn', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_SDKSTART') ?>', name: 'sdkstart', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CONLOGINSERVER') ?>', name: 'conloginserver', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CONLOGINSERVERBACK') ?>', name: 'conloginserverback', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_THREELOGIN') ?>', name: 'threelogin', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_LOGINSUCCESS') ?>', name: 'loginsuccess', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_VERIFYTOKEN') ?>', name: 'verifytoken', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_VERIFYTOKENOVER') ?>', name: 'verifytokenover', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_VERIFYACCOUNT') ?>', name: 'verifyaccount', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_VERIFYACCOUNTOVER') ?>', name: 'verifyaccountover', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_SELECTAREA') ?>', name: 'selectarea', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_SELECTAREABACK') ?>', name: 'selectareaback', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CONGATESERVER') ?>', name: 'congateserver', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_CONGATESERVERBACK') ?>', name: 'congateserverback', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_SELECTROLE') ?>', name: 'selectrole', width: '150'},
                        {display: '<?= translate('MESSAGE_FENXIREPORT_STARTGAME') ?>', name: 'startgame', width: '150'},                        
                        //{display: '<?= translate('MANAGE') ?>', name: 'id', width: '150', sortable: false, process: formatOp}, 
                    ],
                    buttons: [
                        {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},
                        //{name: 'delete', displayname: "<?= translate('DEL') ?>", title: "<?= translate('DEL') ?>", bclass: 'delete'},
                    ],
                    <!-- searchitems: [{display: '<?= translate('ROLE_NAME') ?>', name: 'B.name'}], -->
                }));
                SG.admin = $.extend(SG.admin, {
                    //del_url: '<?= site_url("message/fenxireport/del/") ?>',
                });
            });
        </script>    
        
    </body>
</html>